﻿package jobschedule;

import java.util.Timer;

public class TestJob {

    static long Term_TIME = 1000;
    
    public static void main(String[] args) {
        System.out.println("hello job");
        
        Timer timer = new Timer("time_job");
        
        //timer.schedule(new ReportGenerator(), Term_TIME, Term_TIME);
        //timer.schedule(new Testjob001(), Term_TIME, Term_TIME);
        //timer.schedule(new Testjob002(), Term_TIME, Term_TIME);
        //timer.schedule(new Testjob003(), Term_TIME, Term_TIME);
        
        timer.scheduleAtFixedRate(new Testjob003(), Term_TIME, Term_TIME*5);
        
    }
}
